home *** CD-ROM | disk | FTP | other *** search
- /*
- * DebugAlert()
- * Posts a message box with the error message that was
- * passed in, and the message box options.
- *
- * Params:
- * hWnd - window handle to post message box in
- * message - error string to post
- *
- * Returns:
- * which button the user clicked on
- *
- * Assumptions:
- * That we have enough room in memory to post the message box.
- *
- */
-
- int FAR PASCAL
- DebugAlert(HWND hWnd, LPSTR message)
- {
- int rVal;
-
- /*----------------------------*/
-
- rVal = MessageBox(hWnd,
- (LPSTR)message,
- "Debug information",
- MB_ICONSTOP | MB_OK);
-
- return rVal;
- }
-
-
-